package com.feicheng.house.wcpay.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.feicheng.house.wcpay.service.PayCallbackService;

import pojo.WxPayNotify;

@RestController
@RequestMapping("/house/PayCallback")
public class PayCallbackController {
	@Autowired
	private PayCallbackService payCallbackService;
	@PostMapping("/info")
	public String payCallBack(WxPayNotify wxPayNotify) {
		return payCallbackService.result(wxPayNotify);
		
	}

}
